package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

@Data
@ApiModel(value = "drvingRecord",description = "出车记录表")
public class DrvingRecord implements Serializable {
    @ApiModelProperty(value = "[自动增长]主键")
    private int id;
    @ApiModelProperty(value = "车辆ID")
    private Car car;
    @ApiModelProperty(value = "[部门ID")
    private Dictionary dictionary;
    @ApiModelProperty(value = "[非空]出行时间")
    private Date begin_time;
    @ApiModelProperty(value = "[非空]预计回车时间")
    private Date pre_backtime;
    @ApiModelProperty(value = "[非空]回车时间")
    private Date backtime;
    @ApiModelProperty(value = "用车人")
    private String personnel;
    @ApiModelProperty(value = "驾驶员ID")
    private Driver driver;
    @ApiModelProperty(value = "目的地")
    private String destination;
    @ApiModelProperty(value = "用车原因")
    private String reason;
    @ApiModelProperty(value = "出发里程")
    private double start_mil;
    @ApiModelProperty(value = "回车里程")
    private double return_mil;
    @ApiModelProperty(value = "本次里程")
    private int this_mil;
    @ApiModelProperty(value = "停放位置")
    private String park_place;
    @ApiModelProperty(value = "回车备注")
    private String remarks;
    @ApiModelProperty(value = "创建人")
    private User user;






}
